package com.cskaoyan.bean.vo.weixin_zyl_VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class Weixin_zyl_Vo {
    @JsonProperty("errno")
    private Integer errno;
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("errmsg")
    private String errmsg;

    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    public static class DataDTO {
        @JsonProperty("userInfo")
        private UserInfoDTO userInfo;
        @JsonProperty("token")
        private String token;

        @NoArgsConstructor
        @Data
        @AllArgsConstructor
        public static class UserInfoDTO {
            @JsonProperty("nickName")
            private String nickName;
            @JsonProperty("avatarUrl")
            private String avatarUrl;
        }
    }
}
